package com.untrance.shop.core.service;

import java.util.List;

import com.google.appengine.api.datastore.Key;
import com.untrance.shop.model.Image;

/**
 * @author eugene zadyra
 */
public interface ImageService {
	
	byte[] getImageByKey(Key key);

	byte[] getImageByName(String name);

	Image saveImage(String name, byte[] file);

	List<Key> getAdditionalImagesByProductKey(Key productKey);

}
